import React from 'react';
import {createStackNavigator} from '@react-navigation/stack';
import HomeView from '../pages/home';
import LivesView from '../pages/lives';
const Stack = createStackNavigator();

export default function RootNavigator() {
  return (
    <Stack.Navigator>
      <Stack.Screen
        name="HomeView"
        component={HomeView}
        options={{headerShown: false}}
      />
      <Stack.Screen
        name="LivesView"
        component={LivesView}
        options={{headerShown: false}}
      />
    </Stack.Navigator>
  );
}
